package com.wanmait.recruitment.service.test;

import com.wanmait.recruitment.pojo.City;
import com.wanmait.recruitment.service.CityService;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;

@SpringBootTest
public class city {
    @Resource
    private CityService cityService;
    @Test
    public void findById()
    {
        City city = cityService.findById(30);
        System.out.println(city.getProvince().getId());
    }
}
